package cn.yedong.org.mapper;


import cn.yedong.basic.BaseMapper.BaseMapper;
import cn.yedong.org.domain.Shop;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yedong
 * @since 2023-02-06
 */
public interface ShopMapper extends BaseMapper<Shop> {
    //根据店铺名和地址查询店铺
    Shop findByNameAndAdress(Shop shop);
    //根据店铺id修改店铺状态
    void updateState(@Param("state") Integer state,@Param("shopId") Long shop_Id);
}
